package com.ruoyi.food.object;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 优惠券
 * @author mengcc
 *
 */
public class TShopCoupon {
	
	private long couponID;
	/**
	 * 优惠券名称
	 */
	private String couponName;
	
	/**
	 * 优惠券分类
	 */
	private int couponClass;
	
	/**
	 * 优惠券类型
	 */
	private int couponType;
	
	/**
	 * 起始时间
	 */
	private Timestamp startDate;
	
	/**
	 * 结束时间
	 */
	private Timestamp endDate;
	
	/**
	 * 优惠金额
	 */
	private BigDecimal discountAmount;
	
	/**
	 * 使用门槛
	 */
	private BigDecimal threshold;
	
	/**
	 * 当前使用量
	 */
	private long currentUsage;
	
	/**
	 * 没人限领
	 */
	private int limitPerPerson;
	
	/**
	 * 生成时间
	 */
	private Timestamp printTime;
	
	/**
	 * 商家id
	 */
	private long shopId;
	
	/**
	 * 商品id
	 */
	private long shopItemId;
	
	/**
	 * 是否有效
	 */
	private int printAvailable;

	public long getCouponID() {
		return couponID;
	}

	public void setCouponID(long couponID) {
		this.couponID = couponID;
	}

	public String getCouponName() {
		return couponName;
	}

	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}

	public int getCouponClass() {
		return couponClass;
	}

	public void setCouponClass(int couponClass) {
		this.couponClass = couponClass;
	}

	public int getCouponType() {
		return couponType;
	}

	public void setCouponType(int couponType) {
		this.couponType = couponType;
	}

	public Timestamp getStartDate() {
		return startDate;
	}

	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	public Timestamp getEndDate() {
		return endDate;
	}

	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	public BigDecimal getDiscountAmount() {
		return discountAmount;
	}

	public void setDiscountAmount(BigDecimal discountAmount) {
		this.discountAmount = discountAmount;
	}

	public BigDecimal getThreshold() {
		return threshold;
	}

	public void setThreshold(BigDecimal threshold) {
		this.threshold = threshold;
	}

	public long getCurrentUsage() {
		return currentUsage;
	}

	public void setCurrentUsage(long currentUsage) {
		this.currentUsage = currentUsage;
	}

	public int getLimitPerPerson() {
		return limitPerPerson;
	}

	public void setLimitPerPerson(int limitPerPerson) {
		this.limitPerPerson = limitPerPerson;
	}

	public Timestamp getPrintTime() {
		return printTime;
	}

	public void setPrintTime(Timestamp printTime) {
		this.printTime = printTime;
	}

	public long getShopId() {
		return shopId;
	}

	public void setShopId(long shopId) {
		this.shopId = shopId;
	}

	public long getShopItemId() {
		return shopItemId;
	}

	public void setShopItemId(long shopItemId) {
		this.shopItemId = shopItemId;
	}

	public int getPrintAvailable() {
		return printAvailable;
	}

	public void setPrintAvailable(int printAvailable) {
		this.printAvailable = printAvailable;
	}
	

}
